/////////////////////////////////////////////////////////////////////////////
// Name:        ftpeditor.cpp
// Purpose:     
// Author:      Stephen Whittle
// Modified by: 
// Created:     24/09/2009 14:07:09
// RCS-ID:      
// Copyright:   
// Licence:     
/////////////////////////////////////////////////////////////////////////////

// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"

#ifdef __BORLANDC__
#pragma hdrstop
#endif

#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif

////@begin includes
#include "wxauieditpanel.h"
////@end includes

#include "ftpeditor.h"

////@begin XPM images
////@end XPM images


/*
 * FTPEditor type definition
 */

IMPLEMENT_CLASS( FTPEditor, wxFrame )


/*
 * FTPEditor event table definition
 */

BEGIN_EVENT_TABLE( FTPEditor, wxFrame )

////@begin FTPEditor event table entries
////@end FTPEditor event table entries

END_EVENT_TABLE()


/*
 * FTPEditor constructors
 */

FTPEditor::FTPEditor()
{
    Init();
}

FTPEditor::FTPEditor( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style )
{
    Init();
    Create( parent, id, caption, pos, size, style );
}


/*
 * FTPEditor creator
 */

bool FTPEditor::Create( wxWindow* parent, wxWindowID id, const wxString& caption, const wxPoint& pos, const wxSize& size, long style )
{
////@begin FTPEditor creation
    wxFrame::Create( parent, id, caption, pos, size, style );

    CreateControls();
    Centre();
////@end FTPEditor creation
    return true;
}


/*
 * FTPEditor destructor
 */

FTPEditor::~FTPEditor()
{
////@begin FTPEditor destruction
////@end FTPEditor destruction
}


/*
 * Member initialisation
 */

void FTPEditor::Init()
{
////@begin FTPEditor member initialisation
////@end FTPEditor member initialisation
}


/*
 * Control creation for FTPEditor
 */

void FTPEditor::CreateControls()
{    
////@begin FTPEditor content construction
    FTPEditor* itemFrame1 = this;

    wxMenuBar* menuBar = new wxMenuBar;
    wxMenu* itemMenu27 = new wxMenu;
    menuBar->Append(itemMenu27, _("&File"));
    wxMenu* itemMenu28 = new wxMenu;
    menuBar->Append(itemMenu28, _("&Edit"));
    wxMenu* itemMenu29 = new wxMenu;
    menuBar->Append(itemMenu29, _("Customize"));
    itemFrame1->SetMenuBar(menuBar);

    wxFlexGridSizer* itemFlexGridSizer2 = new wxFlexGridSizer(0, 1, 0, 0);
    itemFlexGridSizer2->AddGrowableRow(0);
    itemFlexGridSizer2->AddGrowableCol(0);
    itemFrame1->SetSizer(itemFlexGridSizer2);

    wxAuiEditPanel* itemPanel3 = new wxAuiEditPanel( itemFrame1, ID_PANEL6, wxDefaultPosition, wxDefaultSize, wxSUNKEN_BORDER|wxTAB_TRAVERSAL );
    itemFlexGridSizer2->Add(itemPanel3, 0, wxGROW|wxGROW|wxALL, 5);

////@end FTPEditor content construction
}


/*
 * Should we show tooltips?
 */

bool FTPEditor::ShowToolTips()
{
    return true;
}

/*
 * Get bitmap resources
 */

wxBitmap FTPEditor::GetBitmapResource( const wxString& name )
{
    // Bitmap retrieval
////@begin FTPEditor bitmap retrieval
    wxUnusedVar(name);
    return wxNullBitmap;
////@end FTPEditor bitmap retrieval
}

/*
 * Get icon resources
 */

wxIcon FTPEditor::GetIconResource( const wxString& name )
{
    // Icon retrieval
////@begin FTPEditor icon retrieval
    wxUnusedVar(name);
    return wxNullIcon;
////@end FTPEditor icon retrieval
}
